package rpc.center;

import rpc.common.NodeInformation;

import java.net.Socket;

public interface ICenterService {

    //服务端注册服务
    public void register(NodeInformation nodeInformation);

    //开始服务
    public void start();

    //停止服务
    public void stop();

    //是否存活
    public boolean isAlive();

}
